package cn.tworice.client.service;

import cn.tworice.common.entity.Answer;
import cn.tworice.common.entity.Topic;
import cn.tworice.common.entity.dto.TopicDto;

import java.util.List;

public interface TopicService {


    Integer getTotal();


    List<TopicDto> getList(Integer page, Integer pageSize);

    String setTopic(Topic topic);

    Integer del(String[] id);

    void setAnswer(List<Answer> answerList,String id);

    List<Answer> getAnswerByTopicId(String topicId);

    List<TopicDto> getTopicListByBankId(String bankId);
}
